﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using CyclicReferences.Public;
using EntityFrameworkContrib.PostSharp4EF;
using EditableBusinessObjects.Postsharp.Public;

namespace EFContrib.PS4EF.Tst.InheritanceTests
{
    [Poco("InheritanceTypeConnection")]
    [CreateSerializeSurrogate("EntityFrameworkContrib.PostSharp4EF.ISerializationHelp, EntityFrameworkContrib.PostSharp4EF")]
    [DataContract(Namespace = "myNamespace", Name = "Tester")]
    public class Tester : Employee
    {
        [DataMember]
        public string Methodology { get; set; }
    }


    [EditableBusinessObjectAttribute()]
    [CreateSerializeSurrogate("EditableBusinessObjects.Postsharp.Public.IEditableBusinessObject, EditableBusinessObjects.Postsharp.Public")]
    [DataContract(Namespace = "myNamespace", Name = "Tester")]
    public class TesterClient : EmployeeClient
    {
        [DataMember]
        public string Methodology { get; set; }
    }
}
